package com.mine.modules.vm.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("批量添加图元表单")
public class AddElementDto {

    @ApiModelProperty(value = "主键Id")
    private String id;

    @ApiModelProperty(value = "Id",required = true)
    private String layerId;

    private String elementId;

    @ApiModelProperty(value = "图元编码")
    private String elementCode;

    @ApiModelProperty(value = "图元名称")
    private String elementName;

    @ApiModelProperty(value = "图元类型")
    private String elementType;

    public AddElementDto() {
    }

    public AddElementDto(String layerId, String elementId, String elementCode, String elementName, String elementType) {
        this.layerId = layerId;
        this.elementId = elementId;
        this.elementCode = elementCode;
        this.elementName = elementName;
        this.elementType = elementType;
    }
}
